﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Perovich.GameObjects.Attributes;
using Microsoft.Xna.Framework;

namespace Perovich.GameObjects.Components
{
    [AutomaticProperty("Rotation","Transform2D.Rotation")]
    [AutomaticProperty("Scale", "Transform2D.Scale")]
    [AutomaticProperty("Depth", "Transform2D.Depth")]
    public class Transform2D : EntityComponent
    {
        public float Rotation { get; set; }
        public float Scale { get; set; }
        public float Depth { get; set; }

        public Transform2D()
        {
            Scale = 1;
        }
    }
}
